package com.nova.edc.model.system;

import com.nova.frame.annotation.Id;
import com.nova.frame.annotation.Join;
import com.nova.frame.annotation.Table;

@Table("t_role_system_menu")
public class RoleSystemMenu {

	@Id
	private Integer id;
	private Integer roleid;
	private Integer menuid;
	@Join(table = SystemMenu.class, fieldName = "menuid", joinColumn = "MenuName")
	private String menuname;
	@Join(table = SystemMenu.class, fieldName = "menuid", joinColumn = "Description")
	private String description;
	@Join(table = SystemMenu.class, fieldName = "menuid", joinColumn = "Path")
	private String path;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getRoleid() {
		return roleid;
	}

	public void setRoleid(Integer roleid) {
		this.roleid = roleid;
	}

	public Integer getMenuid() {
		return menuid;
	}

	public void setMenuid(Integer menuid) {
		this.menuid = menuid;
	}

	public String getMenuname() {
		return menuname;
	}

	public void setMenuname(String menuname) {
		this.menuname = menuname;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}
}
